We are going to plot some features of a regression anlysis using the data set mtcars and regressing the variable mpg against the regrssors wt and am.
Specifically, we will look at:
- A Table of the structure of the data mtcars
- A Scatterplot between mpg and two egressors: wt and am
- A Histogram of the residuals of the linear model created by regressing mpg against wt and am